package cn.dfun.demo.scdemo.ali.order.service;

import cn.dfun.demo.scdemo.common.entity.CommonResult;
import cn.dfun.demo.scdemo.common.entity.Payment;
import org.springframework.stereotype.Component;

@Component
public class PaymentFallbackService implements PaymentService{
    @Override
    public CommonResult<Payment> getById(Long id) {
        String msg = "PaymentFallbackService, 服务降级降级返回, id:" + id;
        return CommonResult.fail(msg);
    }
}
